#!/bin/sh
cd /usr/local/stairway/etc/
FILES=`ls *`
for FILE in $FILES; do
    echo $FILE
    if [ -f /etc/$FILE ];then
        rm -f /etc/$FILE;
    fi
    ln -s /usr/local/stairway/etc/$FILE /etc/$FILE
done
cd -

cd /usr/local/stairway/boot/
FILES=`ls *`
for FILE in $FILES; do
    echo $FILE
    cp -f /usr/local/stairway/boot/$FILE /boot/$FILE
done
cd -

kill -HUP 1
